x86: use compat hypercall handlers for calls from 32-bit HVM guests
authorTim Deegan <Tim.Deegan@citrix.com>
Thu, 12 May 2011 08:13:18 +0000 (09:13 +0100)
committerTim Deegan <Tim.Deegan@citrix.com>
Thu, 12 May 2011 08:13:18 +0000 (09:13 +0100)
commit940534af51390fad551562103b6ad929aa59691c
tree401b1dc926cb75b9972d26346e06f5dc42dc5f2c
parent2de69a818bd7ac6ce1892872855d863be0adf23b
x86: use compat hypercall handlers for calls from 32-bit HVM guests

On 64-bit Xen, hypercalls from 32-bit HVM guests are handled as
a special case, but not all the hypercalls are corrently redirected
to their compat-mode wrappers.  Use compat_* for xen_version,
sched_op and set_timer_op for consistency.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/hvm/hvm.c
xen/include/xen/hypercall.h